package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TQrtzTriggers extends TableDef {

    public static final TQrtzTriggers qrtz_triggers = new TQrtzTriggers("qrtz_triggers");

    public QueryColumn sched_name = new QueryColumn(this, "sched_name");
    public QueryColumn trigger_name = new QueryColumn(this, "trigger_name");
    public QueryColumn trigger_group = new QueryColumn(this, "trigger_group");
    public QueryColumn job_name = new QueryColumn(this, "job_name");
    public QueryColumn job_group = new QueryColumn(this, "job_group");
    public QueryColumn description = new QueryColumn(this, "description");
    public QueryColumn next_fire_time = new QueryColumn(this, "next_fire_time");
    public QueryColumn prev_fire_time = new QueryColumn(this, "prev_fire_time");
    public QueryColumn priority = new QueryColumn(this, "priority");
    public QueryColumn trigger_state = new QueryColumn(this, "trigger_state");
    public QueryColumn trigger_type = new QueryColumn(this, "trigger_type");
    public QueryColumn start_time = new QueryColumn(this, "start_time");
    public QueryColumn end_time = new QueryColumn(this, "end_time");
    public QueryColumn calendar_name = new QueryColumn(this, "calendar_name");
    public QueryColumn misfire_instr = new QueryColumn(this, "misfire_instr");
    public QueryColumn job_data = new QueryColumn(this, "job_data");

    public QueryColumn[] default_columns = new QueryColumn[]{sched_name, trigger_name, trigger_group, job_name, job_group, description, next_fire_time, prev_fire_time, priority, trigger_state, trigger_type, start_time, end_time, calendar_name, misfire_instr, job_data};
    public QueryColumn[] all_columns = new QueryColumn[]{sched_name, trigger_name, trigger_group, job_name, job_group, description, next_fire_time, prev_fire_time, priority, trigger_state, trigger_type, start_time, end_time, calendar_name, misfire_instr, job_data};

    public TQrtzTriggers(String tableName) {
        super(tableName);
    }
}
